batman-adv: init script tries to retrieve interfaces from uci
authorMarek Lindner <[email protected]>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
committerMarek Lindner <[email protected]>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
commita884fb1bf744421e1b3799f5c2772e0e6f86803b
tree8e94313fa13b53d0fc3ca6de5a1b512eecc1df00
parent5e425847797adc35072b91e61d8036f9b9327bfc
batman-adv: init script tries to retrieve interfaces from uci

The batman-adv init script will query uci (network.$iface.ifname)
to retrieve the interface name to re-use the existing network
configuration system.
The default iface configuration (batman-adv.bat0.interfaces) is
set to 'mesh' which allows to start batman-adv as soon as the
network configuration contains a 'mesh' stanza.

Signed-off-by: Filippo Sallemi <[email protected]>
Signed-off-by: Gioacchino Mazzurco <[email protected]>
git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/batman-adv@26719 3c298f89-4303-0410-b956-a3cf2f4a3e73
files/etc/config/batman-adv
files/etc/init.d/batman-adv